package com.shu.proxcy.jdk;

/**
 * @author ssm
 * @version V1.0
 * @description:
 * @date 2019/3/8 19:58
 */

public class Xiaoming implements Person {
    private String sex;
    private String name;

    public Xiaoming() {
    }

    public Xiaoming(String sex, String name) {
        this.sex = sex;
        this.name = name;
    }

    @Override
    public void findLove() {
        Xiaoming xiaoming = new Xiaoming("男", "舒肤佳");
        System.out.println("我是" + xiaoming.toString());
    }

    @Override
    public void getSex() {

    }

    @Override
    public void getName() {

    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Xiaoming{" +
                   "sex='" + sex + '\'' +
                   ", name='" + name + '\'' +
                   '}';
    }
}
